package a;

public class Dog extends Animal{
    public int age;
    public Dog(String name, int age) {
        super(name);
        this.age = age;
    }

    public void run() {
        System.out.println("大家好,我是一只狗狗，我喜欢奔跑！今年"+this.age+"岁!!!!");
    }
}
